#ifndef SETTINGSDIALOG_H
#define SETTINGSDIALOG_H

#include <QtGui/QDialog>
#include "proto_unit.h"

namespace Ui {
    class SettingsDialog;
}

class SettingsDialog : public QDialog {
    Q_OBJECT
public:
    SettingsDialog(QWidget *parent = 0);
    ~SettingsDialog();
    void putSettings(const SETTINGS &settings);
    void storeSettings(SETTINGS &settings);
    bool ServerChanged;

protected:
    void changeEvent(QEvent *e);

private:
    Ui::SettingsDialog *m_ui;


private slots:
    void serverChanged();
};

#endif // SETTINGSDIALOG_H
